package com.example.mapper;

import java.util.List;

public interface BaseDao<T, E extends Exception> {

    int insertEntity(T var1) throws E;

    int insertList(List<T> var1) throws E;

    int updateEntity(T var1) throws E;

    int countEntity(T var1) throws E;

    T selectEntity(T var1) throws E;

    List<T> selectList(T var1) throws E;
}
